Method and apparatus for performing call switching

ABSTRACT

A call switching method and a mobile device are provided that rapidly and conveniently switch calls. The method includes performing a first operation; receiving an event for a second operation that is different from the first operation, while the first operation is being performed; detecting a movement of the mobile device; and performing the second operation, based on determining that the detected movement satisfies a condition.

PRIORITY

This application is a continuation of U.S. patent application Ser. No.14/676,313, which was filed in the U.S. Patent and Trademark Office onApr. 1, 2015, which is a continuation of U.S. patent application Ser.No. 13/872,798, which was filed in the U.S. Patent and Trademark Officeon Apr. 29, 2013, issued as U.S. Pat. No. 9,002,332 on Apr. 7, 2015, andclaims priority under 35 U.S.C. §119(a) to Korean Patent ApplicationSerial No.: 10-2012-0130334, which was filed in the Korean IntellectualProperty Office on Nov. 16, 2012, the entire disclosure of each of whichis hereby incorporated by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates generally to a method and a mobile device forswitching from a first call to a second call, when the mobile devicereceives a call request message for the second call via a network, whilethe first call is established.

2. Description of the Related Art

FIG. 1 is a flow chart illustrating a conventional call switchingmethod.

Referring to FIG. 1, mobile device A is engaged in a call with mobiledevice B in step 110. During the call, mobile device A receives a callrequest from mobile device C via the network (e.g., from a base station)in step 120.

Mobile device A then informs its user A of mobile device C's receivedcall request, e.g., by displaying it via text, outputting a voiceannouncement, etc.

When user A wants to answer the incoming call from mobile device C,mobile device A detects a key signal of Hold & Switch key in step 130.For example, user A presses the Hold & Switch key, which creates a keysignal that is transferred to a controller. The controller then detectsthe Hold & Switch key signal.

In step 140, mobile device A transmits a Hold request to mobile deviceB. In step 150, mobile device B transmits a Hold acknowledge to themobile device A.

In step 160, mobile device A transmits an Accept Request to mobiledevice C, and in step 170, mobile device C transmits an AcceptAcknowledge to mobile device A. Therefore, mobile device A establishes acall with mobile device C in step 180.

As described above, the conventional call switching method illustratedin FIG. 1 requires a user to perform actions, e.g., one or more keypressing operations. These user actions take time for a mobile device toprovide call services, often inconveniencing the user.

Further, if the user does not enter the action in the mobile devicequick enough, the mobile device misses the second call (i.e., the callfrom the mobile device C).

SUMMARY OF THE INVENTION

Accordingly, the present invention is designed to address at least theproblems and/or disadvantages described above and to provide at leastthe advantages described below.

An aspect of the present invention is to provide a method for a mobiledevice to rapidly and easily switch between calls.

Another aspect of the present invention is to provide a mobile deviceadapted to the above-identified call switching method.

In accordance with an aspect of the present invention, a mobile deviceis provided, which includes a memory storing instructions; and aprocessor configured to execute the instructions to perform a firstoperation, receive an event for a second operation that is differentfrom the first operation, while the first operation is being performed,detect a movement of the mobile device, and perform the secondoperation, based on determining that the detected movement satisfies acondition.

In accordance with an aspect of the present invention, a method isprovided for switching between operations by a mobile device. The methodincludes performing a first operation; receiving an event for a secondoperation that is different from the first operation, while the firstoperation is being performed; detecting a movement of the mobile device;and performing the second operation, based on determining that thedetected movement satisfies a condition.

In accordance with an aspect of the present invention, a non-transitorymachine-readable storage device is provided for storing instructionsthat, when executed by one or more processors, cause the one or moreprocessors to perform operations of performing, at a mobile device, afirst operation; receiving an event for a second operation that isdifferent from the first operation, while the first operation is beingperformed; detecting a movement of the mobile device; and performing thesecond operation, based on determining that the detected movementsatisfies a condition.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspect, features, and advantages of certainembodiments of the present invention will become more apparent from thefollowing detailed description viewed in conjunction with theaccompanying drawings, in which:

FIG. 1 is a flow chart illustrating a conventional call switchingmethod;

FIG. 2 illustrates a mobile device according to an embodiment of thepresent invention;

FIG. 3 is a flow chart illustrating a call switching method according toan embodiment of the present invention;

FIG. 4 illustrates locations of a mobile device with respect to a user,according to an embodiment of the present invention;

FIG. 5 is a flow chart illustrating a call switching method according toan embodiment of the present invention;

FIG. 6 is a flow chart illustrating a call switching method according toan embodiment of the present invention;

FIG. 7 is a flow chart illustrating a call switching method according toan embodiment of the present invention; and

FIG. 8 is a flow chart illustrating a call switching method according toan embodiment of the present invention.

DETAILED DESCRIPTION OF EMBODIMENTS OF THE PRESENT INVENTION

Hereinafter, various embodiments of the present invention are describedin detail with reference to the accompanying drawings. In the followingdescription, specific details such as detailed configuration andcomponents are merely provided to assist the overall understanding ofthese embodiments of the present invention. Therefore, it should beapparent to those skilled in the art that various changes andmodifications of the embodiments described herein can be made withoutdeparting from the scope and spirit of the present invention. Inaddition, descriptions of well-known functions and constructions areomitted for clarity and conciseness

Herein, the term “mobile device” refers to a mobile electronic devicethat establishes a call with other electronic devices via a network,e.g., smart phones, tablet Personal Computers (PCs), laptop computers,etc.

FIG. 2 illustrates a mobile device according to an embodiment of thepresent invention.

Referring to FIG. 2, the mobile device includes a touch screen 210, akey input 220, a memory 230, a Radio Frequency (RF) transceiver 240, anaudio processor 250, a speaker (SPK), a microphone (MIC), a sensor 260,and a controller 270.

The touch screen 210 includes a touch panel 211 and a display panel 212.The touch panel 211 is placed on the display panel 212 and may beimplemented with an add-on type of touch panel placed on the displaypanel 212, or an on-cell type or in-cell type of touch panel inserted inthe display panel 212, etc.

The touch panel 211 creates an analog signal when a touch event occursthereon, converts the analog signal to a digital signal, and transfersthe digital signal to the controller 270.

A signal corresponding to a touch event includes touch coordinates (x,y). Accordingly, when the controller 270 receives a touch coordinatefrom the touch panel 211, it concludes that an object (e.g., finger orstylus pen) touched the touch panel 211. When the controller 270 doesnot receive a touch coordinate from the touch panel 211, it concludesthat a touch input has not been entered via the touch panel 211.

The controller 270 detects a touch moving on the touch panel 211. Forexample, when the controller 270 detects that a touch coordinate (x1,y1) changes to (x2, y2), it concludes that the touch has been moved. Thecontroller 270 then calculates a variation in location of a touch (dx,dy).

As described above, the controller 270 identifies touch inputs. Thetouch inputs refer to user gestures on the touch panel 211, e.g., atouch, a multi-touch, a tap, a double tap, a long tap, a tap & touch, adrag, a flick, a press, a pinch in/out, etc.

The touch panel 211 includes pressure sensors, which detect pressure ontouched locations, and transfers detected pressure signals to thecontroller 270. The controller 270 distinguishes between a touch and apress via the detected pressure signals.

The display panel 212 displays screen data, e.g., images and text, underthe control of the controller 270. Accordingly, the display panel 212displays a variety of screens according to the operations of the mobiledevice, e.g., a lock screen, a home screen, an application executionscreen, a keypad screen, etc. The display panel 212 may be implementedwith a Liquid Crystal Display (LCD), a panel with Organic Light EmittingDiodes (OLEDs), a panel with Active Matrix Organic Light Emitting Diodes(AMOLEDs), a flexible display, etc.

The key input 220 includes a number of keys that receive numbers andletters and set a variety of functions in the mobile device. The keyinput 220 creates key events, i.e., key signals related to user settingsand function controls of the mobile device, and transfers them to thecontroller 270. Examples of the key signals include a signal for turningon/off the mobile device, a signal for adjusting the volume, a signalfor turning on/off the screen, a signal for operating a camera (notshown), etc.

The controller 270 controls corresponding components according to thecreated key signals. The key input 220 may include a hard key, i.e., aphysical key. A virtual key (or soft key) is displayed on the touchscreen 210.

The memory 230, for example, includes a disk, a Random Access Memory(RAM), a Read Only Memory (ROM), a Flash memory, etc. The memory 230stores data created in the mobile device, and data received from anexternal system (e.g., a server, a desk top PC, a tablet PC, etc.) viathe RF transceiver 240 or an interface (not shown), under the control ofthe controller 270.

The memory 230 stores a booting program, an Operating System (OS), atouch screen controller, a location determination program, a callswitching program, etc. The touch screen controller is operated based onthe OS and controls the operations of the touch screen 210. The locationdetermination program determines a location of the mobile device, and inaccordance with an embodiment of the present invention, determineswhether the mobile device is positioned near the right or left ear ofthe user using a signal detected via the sensor 260.

When the mobile device, during a first call, receives a request for asecond call, the call switching program switches the first call to thesecond call, based on the location information regarding the mobiledevice. For example, if the user moves the mobile device during thefirst call from the left ear to the right ear, after receiving therequest for the second call, the call switching program holds orterminates the first call, and then accepts the second call.

The memory 230 may also include embedded applications and third partyapplications. For example, the embedded application may be a browser, ane-mail application, an instant messenger, a touch screen controller,etc. The third party applications refer to applications that can bedownloaded from online markets and installed to the mobile device.

The RF transceiver 240 performs a voice/video call, data communication,with external systems, via a network, under the control of thecontroller 270. More specifically, the RF transceiver 240 includes an RFtransmitter for up-converting the frequency of signals to be transmittedand amplifying the signals, and an RF receiver for low-noise amplifyingreceived RF signals and down-converting the frequency of the received RFsignals. The RF transceiver 240 includes a mobile communication module(e.g., a 3-Generation (3G) mobile communication module, 3.5G, 4G, etc.),a digital broadcasting module (e.g., a Digital Multimedia Broadcasting(DMB) module), a short-range communication module (e.g., Wi-Fi module,Bluetooth module, Near Field Communication (NFC) module), etc.

The audio processor 250 performs, via the speaker (SPK) and microphone(MIC), the input and output of audio signals (e.g., voice data) forperforming a speech recognition process, a voice recording process, adigital recording process, and a video/voice calling process. The audioprocessor 250 covers audio signals that are output from the controller270 into analog signals, amplifies the signals, and outputs theamplified signals via the speaker (SPK). The audio processor 250 alsoconverts audio signals that input via the microphone (MIC) into digitalsignal, and transfers the signals to the controller 270.

In accordance with an embodiment of the present invention, the mobiledevice includes first and second speakers, where the first speaker,i.e., an earpiece speaker, is located at the user's ear when the user ismaking a call, and the second speaker, e.g., a loud speaker, is used toplay back media data, such as music, videos, etc., as well as to make acall.

The sensor 260 detects physical quantities (e.g., light, velocity,acceleration, altitude, gravity, etc.) or changes in physical quantity,creates corresponding signals, and transfers the signals to thecontroller 270. The controller 270 determines the location of the mobiledevice based on the received detected signals. Accordingly, the sensor260 may include a variety of sensors, e.g., an acceleration sensor, agyro sensor, a luminance sensor, an orientation sensor, a proximitysensor, a pressure sensor, an image sensor, etc. The sensor 260 may beimplemented with one chip where a number of sensors (e.g., Sensor 1,Sensor 2, Sensor 3, etc.) are integrated. Alternatively, the sensor 260may be implemented with a number of sensors that are formed as chipsrespectively.

The controller 270 controls the entire operation of the mobile deviceand the signals flowing among the components therein. The controller 270processes data.

The controller 270 also controls the electric power supplied to thecomponents from the battery. The controller 190 includes main memorydevices, cache memory devices, a Central Processing Unit (CPU), aGraphics Processing Unit (GPU), etc. The main memory devices store thebooting program, the OS, applications, etc. The cache memory devicestemporarily store data that will be written in the memory 230 and areread therefrom. The OS interfaces between hardware and applications orbetween applications and manages resources such as CPU, GPU, main memorydevices, auxiliary memory devices, etc. The OS controls the operationsof hardware and the execution of applications, schedules tasks in theuser device, controls the operations in CPU and GPU, controls thestorage of data and files, etc. The CPU serves as a key control unit ina computer system that performs operation and comparison of data,analysis and execution of instructions, etc. The GPU serves to performoperation and comparison of data related to graphics, analysis andexecution of instructions, etc., instead of CPU. CPUs and GPUs may berespectively implemented with one package or a single IC chip where twoor more cores (e.g., quad-core) are integrated.

Alternatively, a CPU and a GPU may be integrated with a single chip(System on Chip (SoC)). Alternatively, a CPU and a GPU may be packagedform multi-layers. The configuration including a CPU and a GPU is calledan Application Processor (AP).

The controller 270 receives a proximity signal from a proximity sensorof the sensor 260 while making a call, and determines if the mobiledevice is positioned near the user's ear.

More specifically, the proximity sensor creates a proximity signal whenit detects an object getting close thereto, and transfers the signal tothe controller 270. For example, controller 270 receives a roll angle φ,a pitch angle θ, and a yaw angle ψ from the orientation sensor of thesensor 260. The roll angle φ, pitch angle θ, and yaw angle ψ refer toangles with respect to X-axis, Y-axis, and Z-axis, respectively.

The controller 270 then calculates 3 dimensional coordinates (x, y, z)of the mobile device using the received angles with respect to theX-axis, Y-axis, and Z-axis. The controller 270 determines whether themobile device is positioned near the user's right or left ear, based onthe calculated 3 dimensional coordinates (x, y, z).

If the controller does not receive a proximity signal from the proximitysensor, while the mobile device is making a call, it concludes that themobile device is not positioned near the user's ear, e.g., when the useris making a call using earphones connected to an earphone jack orthrough a Bluetooth headset.

Alternatively, when the user is making a call with the mobile device viathe first speaker, as described above, the controller 270 concludes thatthe mobile device is positioned near the user's ear Thereafter, thecontroller 270 determines whether the mobile device is located near theuser's right or left ear, based on the calculated 3 dimensionalcoordinates (x, y, z).

However, when the user is making a call with the mobile device via thesecond speaker, i.e., loudspeaker, the controller 270 concludes that themobile device is not positioned near the user's ear.

As another example, when the user is making a call with the mobiledevice via earphones, i.e., when the mobile device establishes a calland is connected with the earphones in a wired mode (or via a Bluetoothmodule in a wireless mode), the controller 270 concludes that the mobiledevice is not positioned near the user's ear.

As described above, during a first call, when the mobile device receivesa call request for a second call, the controller 270 switches the firstcall to the second call, based on the location information regarding themobile device. For example, when the user moves the mobile device fromthe left ear to the right ear, after receiving the call request for thesecond call, the controller 270 holds or terminates the first call andthen accepts the second call.

With the convergence of digital devices, there may be many digitaldevices and modifications thereof, not specifically described in theapplication. However, it will be appreciated that the many digitaldevices and modifications thereof can also be included in the mobiledevice. For example, the mobile device may further include a GlobalPositioning Satellite (GPS) module, a vibration motor, a camera module,accessories, external interface (e.g., earphone jack), etc. Theaccessories refer to parts that can be used with the mobile device,e.g., a stylus pen, etc. Also, it will be appreciated that, according tothe purposes, the mobile device may be implemented by omitting aparticular element from the configuration illustrated in FIG. 2 orreplacing it with other elements.

FIG. 3 is a flow chart illustrating a call switching method according toan embodiment of the present invention.

Referring to FIG. 3, the controller 270 controls the mobile device tomakes a call with a first mobile device, by controlling the RFtransceiver 240 and the audio processor 250 in step 310. Specifically,the controller 270 controls the RF transceiver 240 to transmit/receivevoice data to/from the first mobile device. The controller 270 receivesvoice data via the RF transceiver 240 and transfers it to the audioprocessor 250. The controller 270 receives voice data from the audioprocessor 250 and transfers it to the RF transceiver 240.

While the mobile device is making the call with the first mobile device,the controller 270 receives a call request from a second mobile devicevia the RF transceiver 240 in step 320. In step 330, the controller 270informs the user of the reception of the call request. For example, ifthe mobile device receives a call request, the controller 270 controls avibration motor to operate, the audio processor 250 to output acorresponding voice announcement via the speaker (SPK), or the touchscreen 210 to output a corresponding text message.

In step 340, the controller 270 determines whether the user moves themobile device from one ear to the other ear.

FIG. 4 illustrates locations of a mobile device with respect to a user,according to an embodiment of the present invention.

Referring to FIG. 4, the mobile device may be located at the left spaceand right space with respect to a user 400 or Y-axis. Herein, it isassumed that the mobile device includes an orientation sensor fordetecting a location where it is located with respect to the user.Thereafter, the controller 270 calculates 3 dimensional coordinates (x,y, z) of the letter ‘A’ 401, which is printed near a first speaker 480.

As illustrated in FIG. 4, if the mobile device is located near theuser's left ear or in the left space, the letter ‘A’ 401 is located atthe left of the first speaker 480. However, if the mobile device islocated near the user's right ear or in the right space, the letter ‘A’401 is located to the right of the first speaker 480.

When the controller 270 ascertains that the mobile device is locatednear the user's ear, it then determines whether the mobile device islocated at the user's right or left ear, based on the three dimensionalcoordinates (x, y, z) of the letter ‘A’ 401, calculated via theorientation sensor. For example, if the calculated coordinates are (37,−20, 67), the controller 270 ascertains that the mobile device islocated near the user's left ear. If the calculated coordinates are(300, −19, −96), the controller 270 ascertains that the mobile device islocated near the user's right ear. If x and y vary over a first errorrange (e.g., ±10) and a second error range (e.g., ±10) respectively andz varies in a third error range (e.g., ±10), the controller 270ascertains that the mobile device moves from one ear to the other.

Referring again to FIG. 3, when the controller 270 ascertains that theuser moves the mobile device from one ear to the other ear in step 340,the controller 270 controls the RF transceiver 240 to transmit a HoldRequest for holding the current call with the first mobile device to thenetwork in step 350. In step 360, the controller 270 receives a HoldAcknowledge from the network via the RF transceiver 240.

In step 370, the controller 270 controls the RF transceiver 240 totransmit the call Accept Request with a second mobile device to thenetwork, and in step 380, the controller 270 receives the call Acceptfrom the network via the RF transceiver 240. In step 390, the controller270 controls the RF transceiver 240 and the audio processor 250 to makea call with the second mobile device.

FIG. 5 is a flow chart illustrating a call switching method according toan embodiment of the present invention.

Referring to FIG. 5, in step 510, the controller 270 makes a call with asecond mobile device, while the mobile device is holding a call with afirst mobile device. The controller 270 determines whether the usermoves the mobile device 200 from one ear to the other in step 520.

When the controller 270 ascertains that the user moves the mobile devicefrom one ear to the other in step 520, it controls the RF transceiver240 to transmit a Hold Request to the second mobile device in step 530.The controller 270 receives the Hold Acknowledge from the network viathe RF transceiver 240 in step 540.

In step 550, the controller 270 controls the RF transceiver 240 totransmit a call Resumption Request to the first mobile device. In step560, the controller 270 receives the call Resumption Accept Acknowledgefrom the first mobile device, and in step 570, the controller 270controls the RF transceiver 240 and the audio processor 250 to make acall with the first mobile device.

FIG. 6 is a flow chart illustrating a call switching method according toan embodiment of the present invention.

Referring to FIG. 6, in step 610, the controller 270 makes a call with asecond mobile device, while the mobile device is holding a call with afirst mobile device. In step 620, the controller 270 determines whetherthe user moves the mobile device from one ear to the other.

When the controller 270 ascertains that the user moves the mobile devicefrom one ear to the other in step 620, it controls the RF transceiver240 to transmit a call Termination Request to the second mobile devicein step 630. The controller 270 receives the call TerminationAcknowledge from the network via the RF transceiver 240 in step 640. Thecontroller 270 controls the RF transceiver 240 to transmit a callResumption Request to the first mobile device in step 650.

In step 660, the controller 270 receives the call Resumption AcceptAcknowledge from the first mobile device, and in step 670, thecontroller 270 controls the RF transceiver 240 and the audio processor250 to make a call with the first mobile device.

FIG. 7 is a flow chart illustrating a call switching method according toan embodiment of the present invention.

Referring to FIG. 7, in step 710, the controller 270 controls the RFtransceiver 240 and the audio processor 250 to make a call to a firstmobile device. In step 720, the controller 270 receives a call requestfrom a network via the RF transceiver 240. In step 730, the controller270 informs the user of the reception of the call request. In step 740,the controller 270 determines whether the user moves the mobile devicefrom one ear to the other ear.

When the controller 270 ascertains that the user moves the mobile devicefrom one ear to the other ear in step 740, it controls the RFtransceiver 240 to transmit a call Termination Request to the firstmobile device via the network in step 750. In step 760, the controller270 receives the call Termination Acknowledge from the network via theRF transceiver 240, and in step 770, the controller 270 controls the RFtransceiver 240 to transmit the call Accept Request with a second mobiledevice to the network.

In step 780, the controller 270 receives the call Accept from thenetwork via the RF transceiver 240, and in step 790, the controller 270controls the RF transceiver 240 and the audio processor 250 to make acall with the second mobile device.

FIG. 8 is a flow chart illustrating a call switching method according toan embodiment of the present invention.

Referring to FIG. 8, in step 810, the controller 270 controls the mobiledevice to make a call with a first mobile device. In step 820, thecontroller 270 identifies the location of the mobile device during thecall. For example, if the mobile device is making a video call with thefirst mobile device, the controller 270 ascertains that the mobiledevice 200 is not located close to the user's ear.

In step 830, the controller 270 receives a call request from a networkvia the RF transceiver 240, and in step 840, the controller 270 informsthe user of the reception of the call request.

In step 850, the controller 270 determines whether the user moves themobile device from the identified location to another location. Forexample, if the controller 270 receives a signal from a proximitysensor, it concludes that the mobile device has been moved near theuser's ear.

When the controller 270 ascertains that the user moves the mobile devicein step 850, it controls the RF transceiver 240 to transmit a call HoldRequest to the first mobile device via the network in step 860.

In step 870, the controller 270 receives the call Hold Acknowledge fromthe network via the RF transceiver 240, and in step 880, the controller270 controls the RF transceiver 240 to transmit the call Accept Requestwith a second mobile device to the network.

In step 890, the controller 270 receives the call Accept from thenetwork via the RF transceiver 240, and in step 895, the controller 270controls the RF transceiver 240 and the audio processor 250 to make acall with the second mobile device.

As described above, a call switching method and the mobile deviceaccording to an embodiment of the invention can rapidly and easilyswitch calls without receiving commands entered by a user via buttons ora touch screen.

As described above, a call switching method according to an embodimentof the present invention can be implemented with program commands thatcan be conducted via various types of computers and recorded incomputer-readable recording media. The computer-readable recording mediacontain program commands, data files, data structures, or the like, or acombination thereof. The program commands recorded in the recordingmedia may be designed or configured to comply with the invention or maybe software well known to the ordinary person skilled in the art.

The computer-readable recoding media includes hardware systems forstoring and conducting program commands. Examples of the hardwaresystems are magnetic media such as a hard disk, floppy disk, a magnetictape, optical media such as Compact Disc (CD)-ROM and Digital VersatileDiscs (DVDs), Magneto-Optical Media, such as a floptical disk, ROM, RAM,flash memory, etc.

The program commands include assembly language or machine code compliedby a complier and a higher level language interpreted by an interpreter.

Although certain embodiments of the present invention have beendescribed in detail hereinabove, it should be understood that manyvariations and modifications of the basic inventive concept hereindescribed, which may be apparent to those skilled in the art, will stillfall within the spirit and scope of the embodiments of the presentinvention as defined in the appended claims and their equivalents.

What is claimed is:
 1. A mobile device comprising: a memory storinginstructions; and a processor configured to execute the instructions to:perform a first operation, receive an event for a second operation thatis different from the first operation, while the first operation isbeing performed, detect a movement of the mobile device, and perform thesecond operation, based on determining that the detected movementsatisfies a condition.
 2. The mobile device of claim 1, wherein theprocessor is further configured to output a notification correspondingto the event.
 3. The mobile device of claim 1, wherein the processor isfurther configured to perform the second operation after stopping orholding the first operation.
 4. The mobile device of claim 3, whereinthe processor is further configured to: detect another movement of themobile device; and perform the first operation based on determining thatthe detected another movement satisfies another condition.
 5. The mobiledevice of claim 1, wherein the processor is further configured toperform the first operation and the second operation based on a callfunction.
 6. The mobile device of claim 1, wherein the processor isfurther configured to determine whether the condition is satisfied basedon a position of the mobile device.
 7. The mobile device of claim 1,wherein the condition comprises the mobile device having moved from afirst position to a second position.
 8. The mobile device of claim 7,further comprising at least one sensor, wherein the condition furthercomprises receiving a proximity signal from the at least one sensor. 9.A method for switching between operations by a mobile device, the methodcomprising: performing a first operation; receiving an event for asecond operation that is different from the first operation, while thefirst operation is being performed; detecting a movement of the mobiledevice; and performing the second operation, based on determining thatthe detected movement satisfies a condition.
 10. The method of claim 9,further comprising outputting a notification corresponding to the event.11. The method of claim 10, wherein outputting the notificationcomprises performing at least one of: displaying informationcorresponding to the second operation; and outputting an alarm effectrelated to a sound function of the mobile device.
 12. The method ofclaim 9, further comprising stopping or holding the first operationbefore performing the second operation
 13. The method of claim 12,further comprising: detecting another movement of the mobile device; andperforming the first operation based on determining that the detectedanother movement satisfies another condition.
 14. The method of claim 9,further comprising determining whether the condition is satisfied basedon a position of the mobile device.
 15. The method of claim 9, whereinthe condition comprises the mobile device having moved from a firstposition of the mobile device to a second position of the mobile device.16. The method of claim 15, wherein the condition further comprisesreceiving a proximity signal based on a distance between an object andthe mobile device from at least one sensor.
 17. The method of claim 9,wherein the first operation and the second operation are performed basedon a call function.
 18. A non-transitory machine-readable storage devicestoring instructions that, when executed by one or more processors,cause the one or more processors to perform operations comprising:performing, at a mobile device, a first operation; receiving an eventfor a second operation that is different from the first operation, whilethe first operation is being performed; detecting a movement of themobile device; and performing the second operation, based on determiningthat the detected movement satisfies a condition.